I am writing a small Windows program that uses the dictionary container class in Borland C++ v4.0. I have part of the application in a DLL. As soon as I placed the source file that contained the container class logic in the DLL, the program stopped working.
The program links correctly and everything, however, when I run the program it terminates immediately with a normal return code. If I use the Turbo Debugger, the program terminates before even reaching the first line of code. My only guess is that
there is some sort of option or something I need to invoke that will allow the container class to be used in a DLL. Maybe something in the function resolution when my program attempts to bind with the dll is causing the program termination? Does anyone
have any idea on what is happening or how I can possibly fix it?